package api

import (
	"community-service/internal/app/schema"
	"community-service/internal/app/service"
	"github.com/gin-gonic/gin"
)

func Login(c *gin.Context) {
	var su schema.User
	su.Name = c.Query("name")
	su.Age = c.Query("age")
	su.Post = c.Query("post")
	su.Phone = c.Query("phone")

	service.Login(c, su)
}
